import { defineConfig } from 'umi';
import routes from '../src/router/index';

export default defineConfig({
  nodeModulesTransform: {
    type: 'none',
  },
  // routes,
  fastRefresh: {},
  // cdn
  scripts: [
    'https://api.map.baidu.com/api?v=2.0&ak=V8t8ujTuH2WMAR7EG4gQmSVKA3LGZOYH',
  ],
});
